package com.badibadi.activity;

import com.badibadi.uniclubber.R;
import com.badibadi.uniclubber.R.id;
import com.badibadi.uniclubber.R.layout;
import com.badibadi.uniclubber.R.menu;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;

public class SuoYouJiLuActivity extends Activity implements OnClickListener {
	Intent intent = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_suo_you_ji_lu);
		this.findViewById(R.id.button1).setOnClickListener(this);
		this.findViewById(R.id.button2).setOnClickListener(this);
		this.findViewById(R.id.button3).setOnClickListener(this);
		this.findViewById(R.id.button4).setOnClickListener(this);
		this.findViewById(R.id.button5).setOnClickListener(this);
		this.findViewById(R.id.button6).setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.button1:
			intent = new Intent(SuoYouJiLuActivity.this,
					RecordAdayToRememberActivity.class);
			startActivity(intent);
			break;
		case R.id.button2:
			intent = new Intent(SuoYouJiLuActivity.this,
					RecordListFriendsActivity.class);
			startActivity(intent);
			break;
		case R.id.button3:
			intent = new Intent(SuoYouJiLuActivity.this,
					RecordListClubActivity.class);
			startActivity(intent);
			break;
		case R.id.button4:
			intent = new Intent(SuoYouJiLuActivity.this,
					RecordListRegionActivity.class);
			startActivity(intent);
			break;
		case R.id.button5:
			intent = new Intent(SuoYouJiLuActivity.this,
					RecordMyRecordListActivity.class);
			startActivity(intent);
			break;
		}
	}
}
